Leupold Firearm Accessories

Leupold BackCountry Cross-Slot Ruger American LA 1-pc Matte

  • $54.99 $36.99
In Stock
  • Brand: Leupold
  • Item Number: 171360

Leupold Mark 4 Remington 700 SA 20 MOA 1-Piece Base

  • $99.99 $59.99
In Stock
  • Brand: Leupold
  • Item Number: 170744

Leupold Mark 4 30mm Medium (Aluminum) Matte

  • $169.99
In Stock
  • Brand: Leupold
  • Item Number: 57398

Leupold Mark 4 35mm Medium, Aluminum, Matte

  • $159.99
In Stock
  • Brand: Leupold
  • Item Number: 178531

Leupold RM Rimfire 3/8 Inch Medium Matte

  • $59.99
In Stock
  • Brand: Leupold
  • Item Number: 178116

Leupold Rifleman Remington 700 2-PC Matte

  • $11.99
In Stock
  • Brand: Leupold
  • Item Number: 55890

Leupold Rifleman Savage 110 RCVR 2-PC Matte

  • $8.99
In Stock
  • Brand: Leupold
  • Item Number: 56509

Leupold Rifleman Savage 10/110 Round RCVR 2-PC Matte

  • $13.99
In Stock
  • Brand: Leupold
  • Item Number: 170385

Leupold Rifleman T/C Encore Omega 1-PC Silver

  • $5.97
In Stock
  • Brand: Leupold
  • Item Number: 58042

Leupold Rifleman 1 Inch Detachable Rings Silver, Low

  • $17.99
In Stock
  • Brand: Leupold
  • Item Number: 57996

Leupold Rifleman 1 Inch Detachable Rings Gloss, High

  • $17.99
In Stock
  • Brand: Leupold
  • Item Number: 57390

Leupold Rifleman 1 Inch Detachable RIngs Silver, High

  • $16.99
In Stock
  • Brand: Leupold
  • Item Number: 57833


Debugging Information
ColdFusion Server Evaluation 2021,0,13,330286
Template /category.cfm
Time Stamp 20-May-24 03:12 PM
Locale English (US)
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 10.200.2.4
Host Name 10.200.2.4


Execution Time

Total Time Avg Time Count Template
790 ms 790 ms 1 E:/inetpub/wwwroot/category.cfm
655 ms 655 ms 1 E:/inetpub/wwwroot/category_product_display.cfm
200 ms 11 ms 18 C:/inetpub/wwwroot/includes/dropship.cfm
124 ms 7 ms 18 C:/inetpub/wwwroot/includes/qry_mfg_promo_price.cfm
97 ms 97 ms 1 E:/inetpub/wwwroot/category_sidenav_new.cfm
76 ms 4 ms 18 C:/inetpub/wwwroot/includes/qry_term_sale_price.cfm
21 ms 21 ms 1 E:/inetpub/wwwroot/queries/qry_getwebproducts_new.cfm
5 ms 0 ms 21 C:/inetpub/wwwroot/includes/brands.cfm
3 ms 3 ms 1 C:/inetpub/wwwroot/includes/metatags.cfm
3 ms 3 ms 1 C:/inetpub/wwwroot/includes/metatags_category_new.cfm
3 ms 3 ms 1 C:/inetpub/wwwroot/includes/newheader.cfm
2 ms 2 ms 1 E:/inetpub/wwwroot/Application.cfm
2 ms 2 ms 1 E:/inetpub/wwwroot/category_header_new.cfm
1 ms 1 ms 1 C:/inetpub/wwwroot/includes/security/sql_injection.cfm
1 ms 1 ms 1 E:/inetpub/wwwroot/pagethru.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/navigation.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/newfooter.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/block_access.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/library.cfm
1 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
793 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

Getwebdepts (Datasource=celerantsql, Time=3ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 15:12:34.034
select * from tb_web_taxonomy with (nolock) where upper(web_url)=? and site = 'sportsman'
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = FIREARM-ACCESSORIES

get_term_sale_itemz (Datasource=celerantsql, Time=0ms, Records=1650, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
SELECT distinct b.style_id
    FROM tb_term_sale_entries b with (nolock) LEFT JOIN tb_term_sales a with (nolock) ON (a.term_sale_id=b.term_sale_id)
    WHERE b.start_date<= '2024-05-20 15:00:00' AND b.end_date >= '2024-05-20 15:00:00' AND b.store_id=10
get_pkg (Datasource=celerantsql, Time=1ms, Records=0) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
SELECT * 
	FROM tb_mfg_promo.dbo.tb_pkg a with (nolock)
	INNER JOIN tb_mfg_promo.dbo.tb_pkg_main_items b WITH (NOLOCK)
		ON (a.pkg_id = b.pkg_id) 
	WHERE 
	b.main_id is not NULL and a.dept=17 
	and a.start_date<= '05/20/2024 23:59:00' and a.end_date >= '05/20/2024'
	
	and a.site='sportsman'
bulkitems (Datasource=celerantsql, Time=1ms, Records=18) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
select * from tb_mfg_promo.dbo.BULK_ITM_DSCS with (nolock)
GrandGetProducts17 (Datasource=celerantsql, Time=0ms, Records=9214, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
SELECT a.styles_web_taxonomy_id,max(a.style_id) as style_id,max(a.style) as style,max(a.web_style) as web_style,max(a.description) as web_desc,max(a.web_desc) as web_description,max(a.web_long_desc) as web_long_desc,max(a.picture_id) as picture_id,max(a.sort_position) as prod_sort_position,max(a.dept) as dept,max(a.typ) as typ,max(a.subtyp_1) as subtyp_1,max(a.subtyp_2) as subtyp_2,max(a.subtyp_3) as subtyp_3,max(a.category_style) as category_style,max(a.web_url) as web_url,max(a.sort_position) as sort_position,max(a.web_taxonomy_id) as web_taxonomy_id,max(a.brand) as brand,max(a.date_entered) as date_entered,max(a.non_invt) as non_invt,max(a.overnight_required) as overnight_required,max(a.is_firearm) as is_firearm,max(a.of1) as of1,max(a.of2) as of2,max(a.of3) as of3,max(a.of4) as of4,max(a.of5) as of5,max(a.of6) as of6,max(a.of7) as of7,max(a.of8) as of8,max(a.of9) as of9,max(a.of10) as of10,max(a.of11) as of11,max(a.of12) as of12,max(a.of13) as of13,max(a.of14) as of14,max(a.of15) as of15,max(a.of16) as of16,max(a.of17) as of17,max(a.of18) as of18,max(a.of19) as of19,max(a.of20) as of20
,min(c.price) as min_price,min(c.store_price) as store_price,max(c.sugg_price) as max_price,min(c.wholesale_price) as vipprice,max(c.qoh) as qoh,max(c.qc) as qc,max(c.qs) as qs,sum(qoh + qc) as available,sum(c.qs - c.qc) as sold,max(c.sugg_price) AS max_sugg_price,avg(CASE WHEN qq.of9 IS NULL OR qq.of9 = '' THEN 0 ELSE c.price / qq.of9 END) as round
	
 FROM web_all_products a WITH (NOLOCK)
 INNER JOIN dbo.tb_skus b WITH (NOLOCK) ON (a.style_id = b.style_id)
 INNER JOIN dbo.tb_sku_buckets c WITH (NOLOCK) ON (b.sku_id = c.sku_id)
 INNER JOIN dbo.tb_styles_web_taxonomy d WITH (NOLOCK) ON (a.style_id = d.style)
 INNER JOIN dbo.tb_styles qq WITH (NOLOCK) ON (qq.style_id = a.style_id)
	
	
 WHERE a.style_id > 0 and (a.of20='SPORTS' or a.of20='BOTH' or a.of20 = 'SPORTSOUTDOORS') and a.picture_id > 0
and qq.web_product='Y' and c.store_id=10 
	 and a.dept='Firearm Accessories'
	
	group by a.styles_web_taxonomy_id
GetProducts (Datasource=, Time=12ms, Records=563) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
select
		distinct
		(style_id) as style_id
		, max(picture_id)
			,	min(min_price) as min_price
			,	max(max_price) as max_price
			,	min(vipprice) as vipprice
			,	max(web_style) as web_style
            ,	max(style) as style
			,	max(web_desc) as web_desc
            ,	max(web_description) as web_description
			,	max(picture_id) as picture_id
            ,	max(web_long_desc) as web_long_desc
			,   max(dept) as dept
			,   max(qoh) as qoh
			,	max(qc) as qc
			,	max(qs) as qs
			,	max(of18) as of18
			,	max(of17) as of17
			,	max(of15) as of15
            ,	max(of12) as of12
    		,	max(of10) as of10
    		,	max(of9) as of9
    		,	max(of8) as of8
			,	max(of7) as of7
    		,	max(of6) as of6
    		,	max(of5) as of5
            ,	max(of4) as of4
    		,	max(of3) as of3
            ,	max(of2) as of2
            ,	max(of1) as of1
			,	max(available) as available
            ,	max(available) as sold
			,   max(typ) as typ
            ,	max(round) as round
            ,	max(non_invt) as non_invt
			,	max(overnight_required) as overnight_required
			,   max(subtyp_1) as subtyp_1
			,   max(subtyp_2) as subtyp_2
			,   max(subtyp_3) as subtyp_3
			,   max(category_style) as category_style
		     ,   max(sort_position) as sort_position
		     ,max(brand) as brand
	,	MAX(max_sugg_price) AS max_sugg_price
    

		from grandgetproducts17
		where
		 style_id is not null
            
				and brand='LEUPOLD'
			


group by Style_id order by

 	available desc, non_invt desc
GetProducts1 (Datasource=, Time=5ms, Records=565) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:12:34.034
select * from grandgetproducts17
		where
		 picture_id is not null
            
			
				and brand='LEUPOLD'
			


order by

date_entered desc
get_web_url (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_header_new.cfm @ 15:12:34.034
Select web_url from tb_web_taxonomy with (nolock) where dept = 'Firearm Accessories' and typ='EMPTY' and site = 'sportsman'
get_depts (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select dept, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where typ='EMPTY' and dept<>'EMPTY' and dept='Firearm Accessories' and site = 'sportsman' order by sort_position
distinct_typ (Datasource=, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct typ from getproducts
get_typs (Datasource=celerantsql, Time=4ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select typ, web_url, sort_position, category_style from tb_web_taxonomy with (nolock) where subtyp_1='EMPTY' and dept='Firearm Accessories' AND SORT_POSITION<>'x' and site = 'sportsman' and typ in (?) order by typ asc
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Optics

distinct_subtyp1 (Datasource=, Time=0ms, Records=11) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct subtyp_1 from getproducts
hdr_get_subtyps (Datasource=celerantsql, Time=8ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Firearm Accessories' and subtyp_2='EMPTY' and typ='EMPTY' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_1 in (?,?,?,?,?,?,?,?,?,?,?) order by subtyp_1
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Binoculars
Parameter #2(cf_sql_varchar) = EMPTY
Parameter #3(cf_sql_varchar) = Mounts Rings & Bases
Parameter #4(cf_sql_varchar) = Night Vision
Parameter #5(cf_sql_varchar) = Police Trade-in Optics
Parameter #6(cf_sql_varchar) = Rangefinders
Parameter #7(cf_sql_varchar) = Red Dots & Weapon Sights
Parameter #8(cf_sql_varchar) = Riflescope Accessories
Parameter #9(cf_sql_varchar) = Riflescopes
Parameter #10(cf_sql_varchar) = Scope Covers
Parameter #11(cf_sql_varchar) = Spotting Scopes

distinct_subtyp2 (Datasource=, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct subtyp_2 from getproducts
hdr_get_subtyp2 (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct subtyp_2, subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Firearm Accessories' and typ='EMPTY' and subtyp_1='EMPTY' and subtyp_3='EMPTY' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_2 in (?) order by subtyp_2
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = EMPTY

get_filtered_brands (Datasource=, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct(brand) as brand from GetProducts
brand_product_lines (Datasource=celerantsql, Time=79ms, Records=0) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:12:34.034
select distinct a.spec_value from tb_mfg_promo.dbo.item_spec_values a left join tb_mfg_promo.dbo.item_spec_names b on (a.spec_id=b.spec_id) left join tb_mfg_promo.dbo.item_specs c on (a.spec_value_id=c.spec_value_id) where b.spec_name = 'Product Line' and c.style_id in (199533,245142,29878,288946,207070,249534,30119,199004,227857,227858,243016,211894,219889,227933,245753,253591,253596,254011,201269,201270,207069,225488,29898,154728,201268,207086,225487,227898,243015,249531,249620,254003,254062,261517,29920,29921,29951,30064,154753,154755,207060,208854,211899,227810,227811,227902,227908,227916,227917,227927,249538,253592,254020,254021,254024,254025,254026,254027,254029,254037,254063,254073,254083,254085,255421,261518,263801,269962,272149,29985,106041,254004,254007,29889,29901,29906,29908,29912,29913,29917,29952,29953,29965,29966,29981,29990,29999,30008,30013,30035,30056,30057,30070,30093,30094,30097,30102,30139,30143,30223,30226,68137,91724,96669,105849,118920,129147,147914,154724,154725,154727,154756,154757,154758,154759,158238,159260,168794,172763,172764,195652,195655,201267,201847,203561,203562,207063,207067,207073,207074,207075,207076,207079,207080,207083,207084,207085,207087,207089,227808,227812,227815,227829,227834,227836,227838,227843,227844,227852,227854,227855,227859,227899,227900,227903,227912,227918,227920,227922,227925,227926,227929,227930,227931,228037,249536,249613,249619,249688,253055,253593,253594,253595,254005,254006,254008,254009,254010,254013,254015,254016,254022,254023,254028,254030,254031,254032,254034,254038,254040,254041,254042,254043,254044,254045,254046,254047,254048,254049,254050,254051,254052,254053,254054,254055,254056,254057,254058,254059,254064,254065,254067,254068,254069,254070,254071,254072,254074,254075,254076,254079,254080,254081,254082,254084,254086,254087,254088,254089,254090,254092,254093,254094,254211,283955,289262,289263,292802,293460,297065,298349,173443,195654,254012,254033,29864,29886,29890,29892,29893,29894,29900,29902,29903,29904,29907,29909,29910,29911,29914,29915,29916,29922,29926,29929,29931,29932,29933,29934,29936,29937,29939,29941,29942,29943,29945,29948,29949,29950,29954,29955,29956,29957,29958,29959,29960,29961,29963,29970,29972,29976,29980,29986,29987,29988,29992,29993,29994,29995,29997,29998,30000,30001,30002,30003,30004,30014,30016,30017,30026,30027,30029,30032,30038,30041,30048,30052,30058,30061,30062,30089,30096,30098,30160,30188,30193,30195,30196,30211,30214,30224,30268,64688,68205,73027,73037,73038,73039,73041,73084,73086,73271,73507,73517,73540,78902,79093,87087,92257,94314,100544,100852,103372,103373,103447,103448,104058,107168,107728,107729,110338,111675,114742,114743,114744,114745,114746,114747,114748,114749,114750,114751,114753,114754,114755,114757,114758,114759,114763,114764,114766,114771,114776,114912,115083,115122,118296,118605,118921,118922,118923,118926,119215,120936,121287,121446,121511,121798,121799,121837,122313,128145,128148,128149,128150,128285,128765,136856,137451,137455,137457,137816,139885,147901,147902,147904,147905,147906,147907,147909,147911,147913,147916,147918,148851,152764,153047,153295,154703,154719,154720,154726,154730,154732,154734,154740,154760,154761,154772,154773,154774,154775,154776,154777,154790,154791,154792,158254,158539,159259,161091,164483,165374,169308,172057,172758,172759,172760,172761,172762,172766,172767,172769,172770,172771,172772,172773,172774,172782,172787,172788,172789,181404,189894,195588,195648,195649,195651,195653,195656,195657,195658,197031,197572,201857,205477,207061,207062,207064,207066,207068,207071,207072,207078,207081,207088,211898,217882,218398,227809,227813,227814,227816,227817,227826,227827,227828,227830,227831,227832,227833,227835,227837,227839,227840,227841,227845,227846,227847,227848,227849,227850,227851,227853,227897,228036,231793,231794,232201,249519,249520,249521,249523,249524,249525,249527,249529,249530,249533,249537,249614,249616,249618,249621,253598,254000,254017,254018,254019,254035,254036,254039,254060,254061,254066,254077,254078,254091,263571,263572,281208,282870,303078)
Getweburl (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 15:12:34.034
select web_url from tb_web_taxonomy with (nolock) where dept='Firearm Accessories' and site = 'sportsman'
            
            and typ='EMPTY'
            
            and subtyp_1 = 'EMPTY'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254072 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254072 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254072

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254072
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254072 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254072  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254072 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254074 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254074 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254074

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254074
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254074 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254074  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254074 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=9ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254075 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254075 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254075

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254075
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254075 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254075  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254075 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254076 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=13ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254076 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254076

get_term_sale_info (Datasource=celerantsql, Time=5ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254076
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254076 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254076  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254076 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254079 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254079 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254079

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254079
get_promos (Datasource=celerantsql, Time=8ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254079 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254079  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254079 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=8ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254080 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254080 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254080

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254080
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254080 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=4ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254080  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254080 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254081 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254081 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254081

get_term_sale_info (Datasource=celerantsql, Time=5ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254081
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254081 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254081  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=3ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254081 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254082 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254082 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254082

get_term_sale_info (Datasource=celerantsql, Time=8ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254082
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254082 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254082  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254082 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254084 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254084 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254084

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254084
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254084 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254084  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254084 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=8ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254086 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254086 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254086

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254086
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254086 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254086  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254086 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254087 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254087 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254087

get_term_sale_info (Datasource=celerantsql, Time=5ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254087
get_promos (Datasource=celerantsql, Time=7ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254087 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254087  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254087 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254088 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=14ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254088 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254088

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254088
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254088 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254088  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254088 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254089 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254089 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254089

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254089
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254089 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254089  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254089 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254090 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=2ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254090 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254090

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254090
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254090 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254090  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254090 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254092 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=2ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254092 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254092

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254092
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254092 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254092  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254092 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254093 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254093 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254093

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254093
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254093 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254093  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254093 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=5ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254094 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254094 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254094

get_term_sale_info (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254094
get_promos (Datasource=celerantsql, Time=9ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254094 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254094  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=4ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254094 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=8ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 254211 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=2ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:12:34.034
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 254211 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 254211

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:12:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:12:34' and
end_date >= 'May 20, 2024 15:12:34'
and store_id=10 and style_id=254211
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:12:34.034
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 254211 
and (a.start_date<= 'May 20, 2024 15:12:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:12:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select * from tb_product_reviews with (nolock) where style_id=254211  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:12:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=254211 and status='A' and site = 'sportsman'


Scope Variables

Application Variables:
acceptorid=011668467
accountid=1027380
accounttoken=64BB6980FDEAF842266AC866F250CA9877FF24AE92795FB9BE490EAF527645FC4E54DC01
adminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/products/menu.cfm?style_id=
applicationname=SOS
bannerurl=https://www.sportsmansoutdoorsuperstore.com/images/banners/
ccprocessor=VANTIV
checkinventory=Struct (3)
companyname=Vance Outdoors
credova=Struct (5)
ds=celerantsql
enter_inscription=OFF
feedsdir=E:\inetpub\feeds\
forumemail=info@sportsmansoutdoorsuperstore.com
forumtitle=Sportsmans Outdoor Superstore
giftcardimgpath=file:///C:/websites/images/
giftcardpdfpath=E:\websites\giftcardPDF\
googlefeedproducttype=
homeurl=https://www.sportsmansoutdoorsuperstore.com/
hostedpagelink=https://transaction.hostedpayments.com/
iconurl=https://www.sportsmansoutdoorsuperstore.com/images/icons/
imagedir=E:\inetpub\images\
logdir=E:\inetpub\logs
metadesc=
metatags=
mydomain=https://www.sportsmansoutdoorsuperstore.com/
pagetitle=
picurl=https://www.sportsmansoutdoorsuperstore.com/images/
prodimgdir=E:\inetpub\prodimages\
prodimgurl=https://www.sportsmansoutdoorsuperstore.com/prodimages/
qoh_store=10
safety_stock=0
salesemail=sales@sportsmansoutdoorsuperstore.com
secureurl=https://www.sportsmansoutdoorsuperstore.com/
site=sportsman
tempmailport=25
tempmailserver=127.0.0.1
tokenurl=https://services.elementexpress.com/express.asmx
use_multi_buy=OFF
vantivurl=https://transaction.elementexpress.com/express.asmx
webadminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/
websitename=Sportsmans Outdoor Superstore
CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=256
CERT_SECRETKEYSIZE=2048
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
CERT_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
CERT_SUBJECT=
CF_TEMPLATE_PATH=E:\inetpub\wwwroot\category.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=on
HTTPS_KEYSIZE=256
HTTPS_SECRETKEYSIZE=2048
HTTPS_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
HTTPS_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=close
HTTP_COOKIE=CFGLOBALS=urltoken%3DCFID%23%3D12753%26CFTOKEN%23%3D1c4d342fd6495c7e%2DEA2A66A4%2DCFBF%2DC554%2DA293F0DF44349D8F%23lastvisit%3D%7Bts%20%272024%2D05%2D20%2015%3A12%3A34%27%7D%23hitcount%3D94%23timecreated%3D%7Bts%20%272024%2D05%2D20%2015%3A11%3A39%27%7D%23cftoken%3D1c4d342fd6495c7e%2DEA2A66A4%2DCFBF%2DC554%2DA293F0DF44349D8F%23cfid%3D12753%23; CFTOKEN=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F; CFID=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-12753; USERNAME=; CUSTOMER_ID=; CT_U=2235; EMAIL=; FIRST_NAME=; LAST_NAME=; PASSWORD=; PRD_U=298165%2C91
HTTP_HOST=www.sportsmansoutdoorsuperstore.com
HTTP_REFERER=
HTTP_URL=/category.cfm/CurrentPage/13/sportsman/firearm-accessories/brand/leupold/dept/Firearm%20Accessories
HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LOCAL_ADDR=10.200.30.6
PATH_INFO=/CurrentPage/13/sportsman/firearm-accessories/brand/leupold/dept/Firearm Accessories
PATH_TRANSLATED=E:\inetpub\wwwroot\category.cfm
QUERY_STRING=
REMOTE_ADDR=10.200.2.4
REMOTE_HOST=10.200.2.4
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/category.cfm
SERVER_NAME=www.sportsmansoutdoorsuperstore.com
SERVER_PORT=443
SERVER_PORT_SECURE=1
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/10.0
WEB_SERVER_API=
Client Variables:
cfid=12753
cftoken=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
hitcount=94
lastvisit={ts '2024-05-20 15:12:34'}
timecreated={ts '2024-05-20 15:11:39'}
urltoken=CFID=12753&CFTOKEN=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
Cookie Variables:
CFGLOBALS=urltoken=CFID#=12753&CFTOKEN#=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F#lastvisit={ts '2024-05-20 15:12:34'}#hitcount=94#timecreated={ts '2024-05-20 15:11:39'}#cftoken=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F#cfid=12753#
CFID=12753
CFTOKEN=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
CT_U=2235
CUSTOMER_ID=
EMAIL=
FIRST_NAME=
LAST_NAME=
PASSWORD=
PRD_U=298165,91
USERNAME=
Form Fields:
RETURN_TO_PAGE=null
Request Parameters:
samesite_value=
Server Variables:
coldfusion=Struct (10)
os=Struct (5)
system=Struct (2)
Session Variables:
cfid=12753
cftoken=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
cs=/category.cfm/CurrentPage/13/sportsman/firearm-accessories/brand/leupold/dept/Firearm Accessories
displaycount=18
employeeloggedin=N
fflnote=
firearm_agreement=NO
imgarray=Array (0)
memberloggedin=N
pickupstore=10
prodtype=none
selected_ffl=NO
sessionid=SOS_12753_1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
strarray=Array (0)
urltoken=CFID=12753&CFTOKEN=1c4d342fd6495c7e-EA2A66A4-CFBF-C554-A293F0DF44349D8F
URL Parameters:
CLEARANCE=
CurrentPage=13
NAV_CHOOSER=
OF1=
OF10=
OF2=
OF3=
OF4=
OF5=
OF6=
ORDER_BY=
PAGETYPE=
PRODTYPE=none
RETURN_TO_PAGE=null
SECTION=
SUBTYP_1=EMPTY
SUBTYP_2=EMPTY
SUBTYP_3=EMPTY
TYP=EMPTY
WEB_TAXONOMY_ID=17
WHATSNEW=
brand=leupold
dept=Firearm Accessories
sportsman=firearm-accessories
Debug Rendering Time: 7 ms